package com.zzxy.spring34.po;

import java.util.Arrays;
import java.util.Map;
import java.util.Properties;
import java.util.Set;

public class Student {
    private String name;
    private String no;
    private Integer age;
    private Address address;
    private Set<String> care;
    private Map<String,String> infos;
    private Properties properties;
    private String[]member;
    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", no='" + no + '\'' +
                ", age=" + age +
                ", address=" + address +
                ", cars=" + cars +
                ", infos=" + infos +
                ", properties=" + properties +
                ", members=" + Arrays.toString(members) +
                '}';
    }

    public Address getAddress() {return address;}
    public void setAddress (Address address) {this.address = address;}
    public Student() {
    }
    public Student(String name,String no){
        this.name = name;
        this.no = no;
    }
    public Student(String name,Integer age){
        this.name = name;
        this.age = age;
    }
    public Student(String name,String no,Integer age) {
        this.name = name;
        this.no = no;
        this.age = age;
    }
    public String getName(){return name;}
    public void setName(String name) {this.name = name;}
    public String getNo(){return no;}
    public void setNO(String no){this.no=no;}
    public Integer getAge(){return age;}
    public void setAge(Integer age){this.age = age;}

    public void setNo(String no) {
        this.no = no;
    }
}
